package com.yztl.pojo;

import java.util.List;

public class Client {
    private int id;
    private String customer_name;
    private String customer_phone;
    private String customer_password;
    private String customer_address;
    private int customer_adminid;

//新增
    private List<Order> order;






    public Client() {
    }

    public Client(int id, String customer_name, String customer_phone) {
        this.id = id;
        this.customer_name = customer_name;
        this.customer_phone = customer_phone;
    }

    public Client(String customer_name, String customer_phone, String customer_password, String customer_address, int customer_adminid) {
        this.customer_name = customer_name;
        this.customer_phone = customer_phone;
        this.customer_password = customer_password;
        this.customer_address = customer_address;
        this.customer_adminid = customer_adminid;
    }

    public Client(int id, String customer_name, String customer_phone, String customer_password, String customer_address, int customer_adminid, List<Order> order) {
        this.id = id;
        this.customer_name = customer_name;
        this.customer_phone = customer_phone;
        this.customer_password = customer_password;
        this.customer_address = customer_address;
        this.customer_adminid = customer_adminid;
        this.order = order;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getCustomer_phone() {
        return customer_phone;
    }

    public void setCustomer_phone(String customer_phone) {
        this.customer_phone = customer_phone;
    }

    public String getCustomer_password() {
        return customer_password;
    }

    public void setCustomer_password(String customer_password) {
        this.customer_password = customer_password;
    }

    public String getCustomer_address() {
        return customer_address;
    }

    public void setCustomer_address(String customer_address) {
        this.customer_address = customer_address;
    }

    public int getCustomer_adminid() {
        return customer_adminid;
    }

    public void setCustomer_adminid(int customer_adminid) {
        this.customer_adminid = customer_adminid;
    }

    public List<Order> getOrder() {
        return order;
    }

    public void setOrder(List<Order> order) {
        this.order = order;
    }



}
